$(function(){
    window.returnValue = 'return form test2'
})
function openWin() {
    let width = 300;
    let height = 300;
    let top = 100;
    let left = 100;
    let url = "test3.html"

    openModal(url,'test3',width,height)
}
// window.onfocus = focusCommon;
// window.onunload = unloadCommon;
function setName(name) {
    console.log("test2:" + name)
    $('#show').val(name)
}

function setNameNow() {
    let name = $("#name").val();
    console.log("test2: " + name)
    window.opener.setName(name)
}

function getDataFromWin(options){
    console.log("this2: "+options)
    $('#show2').val(options)
}